import $ from '@/http'
// /cse/sso/auth/lg 用户登录
export function login(data) {
  return $.jsonPost('cse/schedule/auth/lg', data)
}

export function logout(data) {
  return $.jsonPost('cse/schedule/auth/exit', data)
}
// cse/schedule/sso/userInfo
export function getInfo(data) {
  return $.jsonPost('cse/schedule/sso/getUserAndPower', data)
}

// cse/schedule/management/getCurrentUserNeedRemindScheduleInThatMinute 根据时间查询当前登录用户该分钟内需要提醒的日程
export function getCurrentUserNeedRemindScheduleInThatMinute(data) {
  return $.jsonPost(
    'cse/schedule/management/getCurrentUserNeedRemindScheduleInThatMinute',
    data
  )
}
